package com.indexingsystem.boss.admin.mapper;

import com.indexingsystem.boss.Vo.*;
import com.indexingsystem.boss.entity.IdxProductsThemeWords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IdxProductsThemeWordsMapper {
	int deleteByPrimaryKey(String id);

	int insert(IdxProductsThemeWords record);

	int insertSelective(IdxProductsThemeWords record);

	IdxProductsThemeWords selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(IdxProductsThemeWords record);

	int updateByPrimaryKey(IdxProductsThemeWords record);

	/**
	 * 条件查询产品标引主题词列表
	 * 
	 * @param idxProductSelectReqVo
	 * @return
	 */
	List<IdxProductsThmeDateVo> getProductsThemeWordsList(IdxProductSelectReqVo idxProductSelectReqVo);

	/**
	 * 批量删除产品标引主题词列表
	 * 
	 * @param list
	 * @return
	 */
	Integer deleteByIdBatch(List<String> list);
	
	/**
	 * 多条件分页查询
	 * @param idxGetProductThemeWordsList
	 * @return
	 */
	List<IdxProductsThmeDateVo> getProductThemeWordsPageList(IdxGetProductThemeWordsList idxGetProductThemeWordsList);
	
	/**
	 * 多条件分页查询数量
	 * @param idxGetProductThemeWordsList
	 * @return
	 */
	Integer getProductThemeWordsPageListCount(IdxGetProductThemeWordsList idxGetProductThemeWordsList);


    List<ExportThemeWordsResVo> getExportThemeWordsResVoList(@Param("reqVo") ExportThemeWordsReqVoSingle reqVo, @Param("taskList") List<String> taskList);

}